package test;

import java.util.Arrays;

public class test2 {
	private int su1 =0;
	private int su2 =0;
	private String [] hobby;
	
	public String[] getHobby() {
		return hobby;
	}
	public void setHobby(String[] hobby) {
		this.hobby = hobby;
	}
	
	public int getSu1() {
		return su1;
	}
	public void setSu1(int su1) {
		this.su1 = su1;
	}
	public int getSu2() {
		return su2;
	}
	public void setSu2(int su2) {
		this.su2 = su2;
	}
	public test2() {
		// TODO Auto-generated constructor stub
	}
	
	public String output1(){
		String str ="";
		for(int a=su1; a<=su2; a++){
			str +=a + " ";
		}
		return str;		
	}
	public String output2(){
		return Arrays.toString(hobby);
	}
}
